﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Interfleet.SE.UICompiler.Core
{
    /// <summary>
    /// This class handles compilation from and to <see cref="Stream"/>s
    /// instead of files.
    /// </summary>
    public abstract class StreamCompilerAgent
    {
        /// <summary>
        /// Compiles/Compresses data from the <paramref name="inputStream"/>
        /// and writes output on the <paramref name="outputStream"/>
        /// </summary>
        /// <param name="inputStream"></param>
        /// <param name="outputStream"></param>
        public abstract void Compile(Stream inputStream, Stream outputStream);
    }
}
